package org.wm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.wm.domain.SysJob;

import java.util.List;

/**
 * 调度任务信息 数据层
 * (已按照 Mybatis-Plus 混合模式进行改造)
 */
@Mapper
public interface SysJobMapper extends BaseMapper<SysJob> {

    /**
     * 查询调度任务列表
     */
    IPage<SysJob> selectJobList(Page<SysJob> page, @Param("job") SysJob job);

    /**
     * 查询所有调度任务
     */
    List<SysJob> selectJobAll();
}